﻿using RaSuperGrid.SuperGrid.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RaSuperGrid.SuperGrid.ViewModel
{
    class UrgencyTypeViewModel
    {
        private UrgencyTypeViewModel(UrgencyType type)
        {
            this.Type = type;

            this.DisplayText = UrgencyTypeResources.ResourceManager.GetString(type.ToString());
        }

        public UrgencyType Type { get; private set; }

        public string DisplayText { get; private set; }

        private static UrgencyTypeViewModel[] _types = 
        { 
            new UrgencyTypeViewModel(UrgencyType.Low),
            new UrgencyTypeViewModel(UrgencyType.Now),
            new UrgencyTypeViewModel(UrgencyType.High)
        };

        public static IList<UrgencyTypeViewModel> Types { get { return _types; } }
    }
}
